package com.hotel.services;

import com.hotel.entitys.Permission;
import com.hotel.entitys.TreeNode;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PermissionService {
    public List<Permission> selPerByUser(String telephone,Integer pid);
    public List<TreeNode> selAllPer(Integer pid);
    public List<Integer> selPerByRid(Integer rid);
    public int delPerByRid(Integer rid);
    public int addPerByRid(Integer rid,List<Integer> perids);
    public List<Integer> selPerBySid(String telephone);
}
